package com.online.college.core.pay.service;

import com.online.college.core.pay.domain.PayOrders;

import java.util.List;

/**
 * 消息服务层
 */
public interface IPayOrderService {

	/**
	*根据id获取
	**/
	public PayOrders getById(String id);

	/**
	 *获取该用户所有定单
	 **/
	public List<PayOrders> queryListByUserId(String userId);

    /**
     * 创建新纪录
     * @param payOrders
     */
	public void createSelectivity(PayOrders payOrders) ;

    /**
     *根据id选择性更新自动
     **/
    public void updatePayOrder(PayOrders entity);

    /**
     *物理删除
     **/
    public void delete(PayOrders entity);

    /**
     *逻辑删除
     **/
    public void deleteLogic(PayOrders entity);
}

